package org.srilankaliving.analytics;


import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

public  class QOLUtils {
    public static final String ETHINIC_GR_PATH = "src/main/resources/ethnicgroup";
    public static final String ETHINIC_GR_OUT_PATH = ETHINIC_GR_PATH + File.separator + "output";
    public static final String WALLTYPE_PATH = "src/main/resources/walltype";
    public static final String WALLTYPE_OUT_PATH = "src/main/resources/walltype" + File.separator + "output";

    public static final String COORELATION_ETH = "src/main/resources/city_ethnicity_coorelation/Eth";
    public static final String COORELATION_QOL = "src/main/resources/city_ethnicity_coorelation/QOL";
    public static final String COORELATION_OUT_PATH = "src/main/resources/city_ethnicity_coorelation/output";

    public static final String QOL_FINAL_DATA = "src/main/resources/final_qol";
    public static final String QOL_FINAL_DATA_IN_PATH = QOL_FINAL_DATA + "/input_data";
    public static final String QOL_FINAL_DATA_OUT_PATH = "src/main/resources/final_qol/input_data" + File.separator + "output";


    public static final String TYPE_A = "A";
    public static final String TYPE_B = "B";
    public static final String TYPE_C = "C";
    public static final String TYPE_D = "D";
    public static final String TYPE_E = "E";

    public static void copyFile(String source, String destination) {

        File sourceFile = new File(source);
        File destFile = new File(destination);
        try {
            FileUtils.copyFile(sourceFile, destFile);
        } catch (IOException e) {
        }

    }


}
